package com.qcy.jwtdemo.service;


import com.qcy.jwtdemo.filters.threadLocalUtil.ThreadLocalUtils;
import com.qcy.jwtdemo.pojo.LoginVO;
import com.qcy.jwtdemo.pojo.UserPrinciple;
import com.qcy.jwtdemo.pojo.param.AdminLoginParam;
import org.springframework.stereotype.Service;

@Service
public class LoginService {
    public LoginVO login(AdminLoginParam adminLoginParam) {
        UserPrinciple userPrinciple =getJWTObject();
        return null;
    }

    private UserPrinciple getJWTObject() {
      return   ThreadLocalUtils.getValue();
    }
}
